package org.ziyuandagong.share.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author 自愿打工
 * @since 2024-12-06
 */
@TableName("share_record")
@ApiModel(value = "Record对象", description = "")
public class Record implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("分享记录的唯一标识符")
    private String shareId;

    @ApiModelProperty("被分享文件的ID")
    private String fileId;

    @ApiModelProperty("分享发起者的用户ID")
    private String userId;

    @ApiModelProperty("分享类型")
    private String shareType;

    @ApiModelProperty("分享状态")
    private String shareStatus;

    @ApiModelProperty("分享创建时间")
    private LocalDateTime creationTime;

    @ApiModelProperty("分享过期时间")
    private LocalDateTime expirationTime;

    public String getShareId() {
        return shareId;
    }

    public void setShareId(String shareId) {
        this.shareId = shareId;
    }
    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
    public String getShareType() {
        return shareType;
    }

    public void setShareType(String shareType) {
        this.shareType = shareType;
    }
    public String getShareStatus() {
        return shareStatus;
    }

    public void setShareStatus(String shareStatus) {
        this.shareStatus = shareStatus;
    }
    public LocalDateTime getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(LocalDateTime creationTime) {
        this.creationTime = creationTime;
    }
    public LocalDateTime getExpirationTime() {
        return expirationTime;
    }

    public void setExpirationTime(LocalDateTime expirationTime) {
        this.expirationTime = expirationTime;
    }

    @Override
    public String toString() {
        return "Record{" +
            "shareId=" + shareId +
            ", fileId=" + fileId +
            ", userId=" + userId +
            ", shareType=" + shareType +
            ", shareStatus=" + shareStatus +
            ", creationTime=" + creationTime +
            ", expirationTime=" + expirationTime +
        "}";
    }
}
